package org.springframework.zp.order.factoryPostProcessor;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class T {


	List<E> beanFactoryPostProcessor;

	public List<E> getBeanFactoryPostProcessor() {
		return beanFactoryPostProcessor;
	}

	@Autowired
	public void setBeanFactoryPostProcessor(List<E> beanFactoryPostProcessor) {
		this.beanFactoryPostProcessor = beanFactoryPostProcessor;
	}

	public void printf(){
		for (E e : beanFactoryPostProcessor) {
			log.info("beanFactoryPostProcessor 对应的[class]: {}",e.getClass());
		}
	}
}
